//
//  ZYAppInfo.swift
//  ZYUICommon
//
//  Created by Yi Zhou on 2025/1/7.
//

import Foundation

//MARK: - APP常用信息
struct AppInfo {
    /// APP info
    static let infoDictionary = Bundle.main.infoDictionary
    /// App 名称
    static let appDisplayName: String = Bundle.main.infoDictionary!["CFBundleDisplayName"] as! String
    /// Bundle Identifier
    static let bundleIdentifier: String = Bundle.main.bundleIdentifier!
    /// App 版本号
    static let appVersion: String = Bundle.main.infoDictionary! ["CFBundleShortVersionString"] as! String
    /// Bulid 版本号
    static let buildVersion : String = Bundle.main.infoDictionary! ["CFBundleVersion"] as! String
    /// ios 版本
    static let iOSVersion: String = UIDevice.current.systemVersion
    /// 设备 udid
    static let identifierNumber = UIDevice.current.identifierForVendor!.uuidString
    /// 设备名称
    static let systemName = UIDevice.current.systemName
    /// 设备型号
    static let model = UIDevice.current.model
    /// 设备区域化型号
    static let localizedModel = UIDevice.current.localizedModel
}
